package com.mdd.admin.vo.goods;

import com.mdd.admin.vo.specification.GoodsSpecificationListVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * GoodsVo
 */
@ApiModel(value = "服务详情返回对象", description = "服务详情返回对象")
@Data
public class GoodsDetailVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    private Long id;
    @ApiModelProperty(value = "服务名称")
    private String name;
    @ApiModelProperty(value = "服务简介")
    private String remarks;
    @ApiModelProperty(value = "分类id")
    private Long categoryId;
    @ApiModelProperty(value = "分类")
    private String category;
    @ApiModelProperty(value = "单位id")
    private Long unitId;
    @ApiModelProperty(value = "单位")
    private String unit;
    @ApiModelProperty(value = "服务主图")
    private String image;
    @ApiModelProperty(value = "价格")
    private BigDecimal price;
    @ApiModelProperty(value = "划线价")
    private BigDecimal scribingPrice;
    @ApiModelProperty(value = "状态：1-立即上架；0-放入仓库；")
    private Integer status;
    @ApiModelProperty(value = "状态：1-立即上架；0-放入仓库；")
    private String statusDesc;
    @ApiModelProperty(value = "排序")
    private Integer sort;
    @ApiModelProperty(value = "服务详情")
    private String content;
    @ApiModelProperty(value = "预约人数")
    private Integer orderNum;
    @ApiModelProperty(value = "图片集合")
    private List<String> goodsImageList;
    @ApiModelProperty(value = "下单时间")
    private String createTime;
    @ApiModelProperty(value = "服务积分")
    private BigDecimal integral;

    //规格
    @ApiModelProperty(value = "规格列表")
    private List<GoodsSpecificationListVo> goodsSpecificationListVos;

    @ApiModelProperty(value = "推销员名称")
    private String salesmanName;


    private Integer salesmanId;

    @ApiModelProperty(value = "是否手动派单 0 系统派单 1 手动派单")
    private Integer isManualDispatch;

    @ApiModelProperty(value = "超出数量")
    private Integer outNumber;

    @ApiModelProperty(value = "是否轮播：0-否、1-是")
    private Integer carousel;

    @ApiModelProperty("是否团购：0-否、1-是")
    private Integer isBuy;

    @ApiModelProperty("团购数量  - 扩展字段")
    private Integer buyNum;

    @ApiModelProperty("团购人数")
    private Integer buyPeopleNum;

    @ApiModelProperty("团购持续时间")
    private Integer buyStartTime;

    @ApiModelProperty("团购价")
    private BigDecimal buyNumber;
}
